<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>添加任务</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link rel="stylesheet" href="/resource/layuiadmin/layui/css/layui.css" media="all">
<link rel="stylesheet" href="/resource/css/mylay.css">
</head>
<body>
<div style="padding: 20px; background-color: #F2F2F2;">
  <div class="layui-row layui-col-space15">
    <div class="layui-col-md12">
      <div class="layui-card">
        <div class="layui-card-body">
          <form class="layui-form" action="">
            <div class="layui-form-item">
              <label class="layui-form-label">NFT名称</label>
              <div class="layui-input-block">
                <input type="text" name="nname" value="{$data.nname ?? ''}" autocomplete="off" placeholder="请输入任务标题" class="layui-input">
              </div>
            </div>
            <div class="layui-form-item">
              <label class="layui-form-label">NFT文件</label>
              <div class="layui-input-block">
                <img src="{$data.nfile_img_url ?? ''}" style="width: 100px;height: 100px">
              </div>
            </div>
            <div class="layui-form-item">
              <label class="layui-form-label">买入账户</label>
              <div class="layui-input-inline">
                <input type="text" name="buyusername" value="{$data.buyusername ?? 0}" autocomplete="off" placeholder="请输入悬赏单价" class="layui-input">
              </div>
            </div>
            <div class="layui-form-item">
              <label class="layui-form-label">卖出账号</label>
              <div class="layui-input-inline">
                <input type="text" name="saleusername" value="{$data.saleusername ?? 0}" autocomplete="off" placeholder="请输入悬赏单价" class="layui-input">
              </div>
            </div>
            <div class="layui-form-item">
              <label class="layui-form-label">转账币种</label>
              <div class="layui-input-inline">
                <input type="text" name="credit_type_str" value="{$data.credit_type_str ?? 0}" autocomplete="off" placeholder="请输入悬赏单价" class="layui-input">
              </div>
            </div>
            <div class="layui-form-item">
              <label class="layui-form-label">需转账数量</label>
              <div class="layui-input-inline">
                <input type="text" name="total_price" value="{$data.total_price ?? 0}" autocomplete="off" placeholder="请输入领取数量" class="layui-input">
              </div>
            </div>
            <div class="layui-form-item">
              <label class="layui-form-label">转账地址</label>
              <div class="layui-input-block">
                <input type="text" name="address" value="{$data.address ?? ''}" autocomplete="off" placeholder="" class="layui-input" disabled>
              </div>
            </div>
            <div class="layui-form-item" style="margin-top: 40px;text-align: center; display:none">
              <input type="hidden" name="id" value="{$data.id ?? 0}" class="layui-input">
              <button class="layui-btn" lay-submit lay-filter="project_sub" data-type="taskEdit">立即提交</button>
              <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
          </form>
        </div>
      </div>
    </div>
  </div>
</div>
<script src="/resource/layuiadmin/layui/layui.js"></script>
<script src="/resource/js/manage/init_date.js"></script>
<script src="/resource/js/manage/bet.js"></script>
</body>
</html>
